package org.example.mallweb.mallservice.service;

import org.example.mallcommon.result.ReturnResult;
import org.example.mallcommon.vio.UserDetailPage;
import org.example.mallcommon.vio.UserDetailVio;

/**
 * @author 韩先楚
 * 用户关注服务接口
 */
public interface UserFollowService {
    /**
     * 关注或取关用户
     */
    ReturnResult<String> followOrUnfollowUser(Integer userId, Integer myid, Integer follow);

    //获取我的关注列表
    ReturnResult<UserDetailPage> getMyFollowList(Integer userId, Integer page, Integer size);

    //获取我的粉丝列表
    ReturnResult<UserDetailPage> getMyFansList(Integer userId,Integer page, Integer size);
}
